import React, { Component } from 'react'
import BotLeft from './BotLeft'
import BotRig from './BotRig'
class View extends Component {
  render() {
    let { submittedUser, commentsCount, ups } = this.props.bot
    // submittedUser:
    // imgUrl: "/chouti-imgs/CHOUTI_210511_407A5427F6764A50B9A5A1EEB8CDE71B.jpg"
    // jid: "wb_1496814565"
    // nick: "封面新闻"

    // console.log(this.props.bot)
    return (
      <>
        <div className="list-ri-bot">
          <BotLeft obj={submittedUser} />
          <BotRig obj={{ commentsCount, ups }} />
        </div>
      </>
    )
  }
}
export default View
